package com.cloud.shopping.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author John.zhang
 * @version Id: OrderSku, v 1.0 2021/1/3 20:48 ZhiYong Exp $
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "order_sku")
public class OrderSku implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String image;
    private String skuId;
    private String orderId;
    private String name;
    private Integer price;
    /**
     * 数量
     */
    private Integer num;
    /**
     * 总金额
     */
    private Integer money;
}
